package club.hicode.daydayup.netty.demo.client;

import org.junit.Test;

/**
 * 客户端 Main
 *
 * @author Liu Chunfu
 * @date 2018-06-14 下午2:50
 **/
public class ClientMain {

    @Test
    public void test1() {
        double sum = 0L;
        for (int i = 1; i < 2048; i++) {
            sum += Math.pow(2, i);
        }
        System.out.println(sum);
        double v = sum / 1024 / 1024;
        System.out.println(v + "g");
    }
}
